import os
import os.path
# file = open("test","w")
# file.write("111111111133\n")
# file.close()
print(os.walk("D:\大学\行测"))
if os.path.exists(os.walk("D:\大学\行测")):
    print("1111111")
    tuple = (os.walk("D:\大学\行测"))
    for item in tuple:
        print(item)
else:
    print("1111111111")


